package com.example.mideaoem.data.humidification;

import android.util.Log;

import com.example.mideaoem.data.BaseDevice;
import com.example.mideaoem.data.FactoryDataBody;
import com.example.mideaoem.data.fcCon;

public class DataBodyHumiQuery extends FactoryDataBody{

	@Override
	public byte[] toBytes() {
		fcCon con = new fcCon();
		int[] src = new int[128];
		int[] des = new int[10];
		con.sound = 0;
		con.optCommand = 3;
		mOrder++;
		con.order = mOrder;
		
		int length = con.stdAirConEx_pro2byte(253, fcCon.CMDTYPE_QUERY_INFO, src, src.length, des, des.length);
		byte[] result = toBytes(src, length);
		String str = printHexString(result);
		result = addHead(result, fcCon.HUMI, true);
		return result;
		
	}

	@Override
	public Object toObject(byte[] bytes) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void setDataBodyStatus(BaseDevice newStatus) {
		// TODO Auto-generated method stub
		
	}

}
